package org.example.pet.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PetBreed {
    //品种ID
    private Long breedId;
    //品种名称
    private String breedName;
    //原产地
    private String origin;
    //平均寿命
    private String lifeSpan;
    //性格特点
    private String temperament;
    //照顾难度：LOW-低 MEDIUM-中 HIGH-高
    private String careLevel;
    //品种描述
    private String description;
    //创建时间
    private LocalDateTime createdAt;
    
    public enum CareLevelVal {
        LOW("LOW", "低"),
        MEDIUM("MEDIUM", "中"),
        HIGH("HIGH", "高"),
        ;

        private String val;
        private String desc;

        CareLevelVal(String val, String desc) {
            this.val = val;
            this.desc = desc;
        }

        public String getVal() {
            return val;
        }

        public String getDesc() {
            return desc;
        }

    }
}
